<?php
/**
 * Created by PhpStorm.
 * User: s.utkin
 * Date: 16.12.2014
 * Time: 18:58
 */

class MessengerNotificationDeliveryConfig extends \Pinenut\Config {
	const TYPE_NEW_MESSAGE = 0;
	const TYPE_MESSAGE_READ = 1;
	const TYPE_TYPING = 2;

	public static $config = [
		'workersActionMap' => [
			self::TYPE_NEW_MESSAGE => 'messenger.workers.newMessage',
			self::TYPE_MESSAGE_READ => 'messenger.workers.messageRead',
			self::TYPE_TYPING => '',
		]
	];
} 